package com.chenxiao.mybatisplus.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chenxiao.mybatisplus.entity.Order;
import com.chenxiao.mybatisplus.entity.OrderDto;
import com.chenxiao.mybatisplus.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface OrderService {

    List<OrderDto> queryOrderList();

    IPage<OrderDto> queryOrderPage(IPage page);

    /**
     * 新增用户订单
     * @param order
     */
    void insertOrder(Order order);

}
